package mytest.wd;

import java.util.Arrays;
import java.util.List;

public class Test8 {

    public static void main(String[] args) {

        try {
            int i = 1 / 0;
            System.out.println(1);
        } catch (Exception e) {
            throw new RuntimeException(e);
        }

        System.out.println(111);
    }

    public static String makeName(List<String> nameList) {
        StringBuilder name = new StringBuilder();
        for (String nameEle : nameList) {
            if (org.apache.commons.lang3.StringUtils.isNotBlank(nameEle)) {
                name.append(nameEle.trim());
                if (name.length() > 0) {
                    name.append(" ");
                }
            }
        }
        return name.toString().trim();
    }

}
